package com.CST.service.impl;

import cn.hutool.core.date.DateUtil;
import com.CST.common.api.Response;
import com.CST.common.constant.Constants;
import com.CST.dto.DateDTO;
import com.CST.entity.EtlAcSalary;
import com.CST.mapper.cst.EtlAcSalaryMapper;
import com.CST.service.IEtlAcSalaryService;
import com.CST.util.HttpUtil;
import com.CST.vo.SalaryDetailByAccIdVO;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author ly
 * @since 2022-01-13
 */
@Service
public class EtlAcSalaryServiceImpl extends ServiceImpl<EtlAcSalaryMapper, EtlAcSalary> implements IEtlAcSalaryService {

    @Autowired
    private EtlAcSalaryMapper etlAcSalaryMapper;

    @Override
    public List<EtlAcSalary> getSalarySource(EtlAcSalary entity) {
        return etlAcSalaryMapper.getSalarySource(entity);
    }
}
